<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<script language="javascript" src="../script/common.js"  type="text/javascript"></script>
		<script language="javascript" type="text/javascript">
			var taskId = getPara("taskId")
			var tagData;
			function load(){
				var requestComment = getPara("requestComment");
				var completeDate = getPara("completeDate");
				tagData = getPara("tagData");
				
				$("remarkForm").remark.value = requestComment;
				if(tagData){
					Eui.initDateInput("completeDate","完成日期","remarkForm","completeDate","futureDate");
					$("remarkForm").completeDate.value = completeDate;
				}
				
			}
			function onSave(){
			    if(!checkForm(remarkForm))return;
				var completeDate ;
				if(tagData){
					completeDate = remarkForm.completeDate.value
				}
				DWR.call('cardRequestService.editReqOrderBasicInfo',taskId,completeDate,0,remarkForm.remark.value,function(v){
					v.completeDate = v.completeDate?v.completeDate.format():v.completeDate;
					 dialogBackValue(v)
				});
			}
		</script>
		<title>申请备注</title>
	</head>
	<body onload="load()">
		<div class="form">
			<div class="formTitle">备 注</div>
			<form id="remarkForm" name="remarkForm" >
				<table cellSpacing=0 cellPadding=4 width="100%" border=0>
					<tr>
						<td><label>备&nbsp;&nbsp;&nbsp;&nbsp;注</label> <input type="text" name="remark" size="40" maxlength="64"></td>
						
					</tr>
					<tr>
						<td id="completeDate"></td>
					</tr>
				</table>
			</form>	
		</div>
	</body>
</html>